package com.feihong.txgw.message;

/**
 * @name txgw_app
 * @class name：com.feihong.txgw.message
 * @class describe: 刷新发现页、购物车页、我的界面标题消息按钮 是否有未读消息
 * @author wangziheng
 * @time 2017/10/30 10:56
 * @change
 * @chang time
 * @class describe
 */
public class RefreshMsgIconMessage {
    private String msg;
    private HomeMsgUnReadMsge data;
    private int code;

    public class HomeMsgUnReadMsge{

        // 是否有未读消息
        private boolean haveNewMsg = false;

        private int msg_number;

        public int getMsg_number() {
            return msg_number;
        }

        public void setMsg_number(int msg_number) {
            this.msg_number = msg_number;
        }

        public boolean isHaveNewMsg() {
            return haveNewMsg;
        }

        public void setHaveNewMsg(boolean haveNewMsg) {
            this.haveNewMsg = haveNewMsg;
        }
    }

    @Override
    public String toString() {
        return "RefreshMsgIconMessage{" +
                "msg='" + msg + '\'' +
                ", data=" + data +
                ", code=" + code +
                '}';
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public HomeMsgUnReadMsge getData() {
        return data;
    }

    public void setData(HomeMsgUnReadMsge data) {
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
